package com.zc.homePage.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 用户订单对象 charge_custom_order_info
 *
 * @author glb
 * @date 2023-05-19
 */
public class ChargeCustomOrder {

    /**
     * 订单号
     */
    @Excel(name = "订单号")
    private String orderInfoCode;

    /**
     * 订单号
     */
    @Excel(name = "订单号")
    private String deviceCode;

    /**
     * 充电时长（秒）
     */
    @Excel(name = "充电时长")
    private Double totalTime;

    /**
     * 累计用电量
     */
    @Excel(name = "累计用电量")
    private BigDecimal totalPower;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 场站名称
     */
    @Excel(name = "场站名称")
    private String chargeStationName;

    public String getOrderInfoCode() {
        return orderInfoCode;
    }

    public void setOrderInfoCode(String orderInfoCode) {
        this.orderInfoCode = orderInfoCode;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public Double getTotalTime() {
        return totalTime;
    }

    public void setTotalTime(Double totalTime) {
        this.totalTime = totalTime;
    }

    public BigDecimal getTotalPower() {
        return totalPower;
    }

    public void setTotalPower(BigDecimal totalPower) {
        this.totalPower = totalPower;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getChargeStationName() {
        return chargeStationName;
    }

    public void setChargeStationName(String chargeStationName) {
        this.chargeStationName = chargeStationName;
    }
}
